package com.youpai.platform.user.web.entity.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


/**
 * @author huanghao
 * @version 1.0
 * @description 用户注册req
 * @date 2022/07/17
 */
@Data
@ApiModel(value = "FindPwdReq",description = "用户找回密码参数")
public class FindPwdReq {

    @NotBlank(message = "邮箱不能为空")
    @ApiModelProperty(value = "邮箱")
    private String email;

    @NotBlank(message = "新密码不能为空")
    @ApiModelProperty(value = "新密码")
    private String newPwd;

}
